const ENV = require('./env.config');

module.exports = {
  MYSQL_CONF: {
    base: {
      host: 'localhost',
      dialect: 'mysql',
      pool: {
        max: 5, //最大连接数
        min: 0,
        idle: 10000
      }
    },
    conf: ['txclass', 'root', ENV.isPrd ? '*Aa776052998' :'a776052998']
  },
  REDIS_CONF: [
    '6379',
    '127.0.0.1'
  ]
};